package main

import (
	grpc2 "gitee.com/xuxinzhi2206/corehub/grpc"
	"gitee.com/xuxinzhi2206/corehub/viper"
	"google.golang.org/grpc"
	"rpc/api"
	"rpc/model"
)

func main() {
	viper.GetViper("./dev.yaml")
	model.AmTer()
	err := grpc2.RegisterRPC(func(s *grpc.Server) {
		api.RetServer(s)
	})
	if err != nil {
		return
	}
}
